<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>pyprocessing.shapes</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pyprocessing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="pyprocessing-module.html">Package&nbsp;pyprocessing</a> ::
        Module&nbsp;shapes
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
        <tr><td align="right"><span class="options"
            >[<a href="frames.html" target="_top">frames</a
            >]&nbsp;|&nbsp;<a href="pyprocessing.shapes-module.html"
            target="_top">no&nbsp;frames</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module shapes</h1><p class="nomargin-top"><span class="codelink"><a href="pyprocessing.shapes-pysrc.html">source&nbsp;code</a></span></p>
<!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="pyprocessing.shapes.CatmullRomBlend-class.html" class="summary-name" onclick="show_private();">CatmullRomBlend</a><br />
      Cubic Catmull Rom Blending
    </td>
  </tr>
</table>
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="beginShape"></a><span class="summary-sig-name">beginShape</span>(<span class="summary-sig-arg">type</span>=<span class="summary-sig-default">None</span>)</span><br />
      Begins the drawing of a shape.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#beginShape">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="vertex"></a><span class="summary-sig-name">vertex</span>(<span class="summary-sig-arg">x</span>,
        <span class="summary-sig-arg">y</span>,
        <span class="summary-sig-arg">z</span>=<span class="summary-sig-default">0.0</span>,
        <span class="summary-sig-arg">u</span>=<span class="summary-sig-default">0.0</span>,
        <span class="summary-sig-arg">v</span>=<span class="summary-sig-default">0.0</span>)</span><br />
      Adds a new vertex to the shape</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#vertex">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="normal"></a><span class="summary-sig-name">normal</span>(<span class="summary-sig-arg">x</span>,
        <span class="summary-sig-arg">y</span>,
        <span class="summary-sig-arg">z</span>)</span><br />
      Sets the next vertex's normal</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#normal">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.shapes-module.html#bezierVertex" class="summary-sig-name">bezierVertex</a>(<span class="summary-sig-arg">*coords</span>)</span><br />
      Generates a cubic bezier arc.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezierVertex">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="endShape"></a><span class="summary-sig-name">endShape</span>(<span class="summary-sig-arg">close</span>=<span class="summary-sig-default">False</span>)</span><br />
      Does the actual drawing of the shape.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#endShape">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="bezierDetail"></a><span class="summary-sig-name">bezierDetail</span>(<span class="summary-sig-arg">n</span>=<span class="summary-sig-default">40</span>)</span><br />
      Establishes the B&#233;zier level of detail, i.e., the number of points 
      per B&#233;zier curve segment.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezierDetail">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="bezierPoint"></a><span class="summary-sig-name">bezierPoint</span>(<span class="summary-sig-arg">a</span>,
        <span class="summary-sig-arg">b</span>,
        <span class="summary-sig-arg">c</span>,
        <span class="summary-sig-arg">d</span>,
        <span class="summary-sig-arg">t</span>)</span><br />
      Given the x or y coordinate of B&#233;zier control points a,b,c,d and the 
      value of the t parameter, return the corresponding coordinate of the 
      point.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezierPoint">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="bezierTangent"></a><span class="summary-sig-name">bezierTangent</span>(<span class="summary-sig-arg">a</span>,
        <span class="summary-sig-arg">b</span>,
        <span class="summary-sig-arg">c</span>,
        <span class="summary-sig-arg">d</span>,
        <span class="summary-sig-arg">t</span>)</span><br />
      Given the x or y coordinate of B&#233;zier control points a,b,c,d and the 
      value of the t parameter, return the corresponding coordinate of the 
      tangent at that point.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezierTangent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.shapes-module.html#bezierSample" class="summary-sig-name">bezierSample</a>(<span class="summary-sig-arg">*p</span>)</span><br />
      Returns a list of points for cubic bezier arc defined by the given 
      control points.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezierSample">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="bezier"></a><span class="summary-sig-name">bezier</span>(<span class="summary-sig-arg">*coords</span>)</span><br />
      Draws a cubic B&#233;zier curve for the 4 control points.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezier">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="curveTightness"></a><span class="summary-sig-name">curveTightness</span>(<span class="summary-sig-arg">squishy</span>)</span><br />
      Uses 'squishy' as the tension factor for the catmull-rom spline.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#curveTightness">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="curveVertex"></a><span class="summary-sig-name">curveVertex</span>(<span class="summary-sig-arg">x</span>,
        <span class="summary-sig-arg">y</span>,
        <span class="summary-sig-arg">z</span>=<span class="summary-sig-default">0</span>)</span><br />
      Generates a cubic Catmull-Rom curve corresponding to interpolating 
      the three last points issued with earlier calls to curveVertex and 
      this one.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#curveVertex">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.shapes-module.html#curve" class="summary-sig-name">curve</a>(<span class="summary-sig-arg">*coords</span>)</span><br />
      Generates a catmull-rom curve given 4 points.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#curve">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="curvePoint"></a><span class="summary-sig-name">curvePoint</span>(<span class="summary-sig-arg">a</span>,
        <span class="summary-sig-arg">b</span>,
        <span class="summary-sig-arg">c</span>,
        <span class="summary-sig-arg">d</span>,
        <span class="summary-sig-arg">t</span>)</span><br />
      Evaluates the n'th coordinate of a cubic Catmull-Rom curve at 
      parameter t for control points having their n'th coordinate equal to 
      a, b, c and d, respectively.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#curvePoint">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="curveTangent"></a><span class="summary-sig-name">curveTangent</span>(<span class="summary-sig-arg">a</span>,
        <span class="summary-sig-arg">b</span>,
        <span class="summary-sig-arg">c</span>,
        <span class="summary-sig-arg">d</span>,
        <span class="summary-sig-arg">t</span>)</span><br />
      Evaluates the n'th coordinate of the tangent at the point on a cubic 
      Catmull-Rom curve at parameter t for control points having their n'th
      coordinate equal to a, b, c and d, respectively.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#curveTangent">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="curveDetail"></a><span class="summary-sig-name">curveDetail</span>(<span class="summary-sig-arg">npts</span>=<span class="summary-sig-default">20</span>)</span><br />
      Controls the number of samples per curve arc.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#curveDetail">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="pyprocessing.shapes-module.html#sphereDetail" class="summary-sig-name">sphereDetail</a>(<span class="summary-sig-arg">*args</span>)</span><br />
      Controls the how many segments are used per circle revolution while 
      drawing a sphere.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="pyprocessing.shapes-pysrc.html#sphereDetail">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ADD"></a><span class="summary-name">ADD</span> = <code title="1">1</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="BEVEL"></a><span class="summary-name">BEVEL</span> = <code title="'BEVEL'"><code class="variable-quote">'</code><code class="variable-string">BEVEL</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="BLEND"></a><span class="summary-name">BLEND</span> = <code title="0">0</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="BURN"></a><span class="summary-name">BURN</span> = <code title="13">13</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DARKEST"></a><span class="summary-name">DARKEST</span> = <code title="3">3</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DIFFERENCE"></a><span class="summary-name">DIFFERENCE</span> = <code title="5">5</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="DODGE"></a><span class="summary-name">DODGE</span> = <code title="12">12</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="EXCLUSION"></a><span class="summary-name">EXCLUSION</span> = <code title="6">6</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="HARD_LIGHT"></a><span class="summary-name">HARD_LIGHT</span> = <code title="10">10</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="IMAGE"></a><span class="summary-name">IMAGE</span> = <code title="'IMAGE'"><code class="variable-quote">'</code><code class="variable-string">IMAGE</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="LIGHTEST"></a><span class="summary-name">LIGHTEST</span> = <code title="4">4</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MITER"></a><span class="summary-name">MITER</span> = <code title="'MITER'"><code class="variable-quote">'</code><code class="variable-string">MITER</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MULTIPLY"></a><span class="summary-name">MULTIPLY</span> = <code title="7">7</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="NORMALIZED"></a><span class="summary-name">NORMALIZED</span> = <code title="'NORMALIZED'"><code class="variable-quote">'</code><code class="variable-string">NORMALIZED</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="OVERLAY"></a><span class="summary-name">OVERLAY</span> = <code title="9">9</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="PROJECT"></a><span class="summary-name">PROJECT</span> = <code title="'PROJECT'"><code class="variable-quote">'</code><code class="variable-string">PROJECT</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="ROUND"></a><span class="summary-name">ROUND</span> = <code title="'ROUND'"><code class="variable-quote">'</code><code class="variable-string">ROUND</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SCREEN"></a><span class="summary-name">SCREEN</span> = <code title="8">8</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SOFT_LIGHT"></a><span class="summary-name">SOFT_LIGHT</span> = <code title="11">11</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SQUARE"></a><span class="summary-name">SQUARE</span> = <code title="'SQUARE'"><code class="variable-quote">'</code><code class="variable-string">SQUARE</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="SUBTRACT"></a><span class="summary-name">SUBTRACT</span> = <code title="2">2</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="e"></a><span class="summary-name">e</span> = <code title="2.71828182846">2.71828182846</code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="pi"></a><span class="summary-name">pi</span> = <code title="3.14159265359">3.14159265359</code>
    </td>
  </tr>
</table>
<!-- ==================== FUNCTION DETAILS ==================== -->
<a name="section-FunctionDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Function Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-FunctionDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="bezierVertex"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">bezierVertex</span>(<span class="sig-arg">*coords</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezierVertex">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Generates a cubic bezier arc. Arguments are of the form (cx1, cy1, 
  cx2, cy2, x, y) or (cx1, cy1, cz1, cx2, cy2, cz2, x, y, z), i.e. 
  coordinates for 3 control points in 2D or 3D. The first control point of 
  the arc is the last point of the previous arc or the last vertex.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="bezierSample"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">bezierSample</span>(<span class="sig-arg">*p</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.shapes-pysrc.html#bezierSample">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Returns a list of points for cubic bezier arc defined by the given 
  control points. The number of points is given by shape.bezierDetail.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="curve"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">curve</span>(<span class="sig-arg">*coords</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.shapes-pysrc.html#curve">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Generates a catmull-rom curve given 4 points. Takes either 8 numbers 
  for coordinates of 4 points in 2D or 12 numbers for 4 points in 3D</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<a name="sphereDetail"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">sphereDetail</span>(<span class="sig-arg">*args</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="pyprocessing.shapes-pysrc.html#sphereDetail">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Controls the how many segments are used per circle revolution while 
  drawing a sphere. The first and second parameters determine the number of
  segments used longitudinally and latitudinally, respectively. If only one
  parameter is used, it determines the total number of segments used per 
  full circle revolution.</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="pyprocessing-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

      <th class="navbar" width="100%"></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0.1 on Mon Jun 11 22:06:46 2012
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
